package comun.iControl;

import java.rmi.Remote;
import java.util.Collection;
import java.util.Iterator;
import java.util.Vector;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;
import javax.jdo.Transaction;


import servidor.dominio.Categoria;
import servidor.dominio.Cliente;
import servidor.dominio.Concepto;
import servidor.dominio.Empleado;

import comun.dto.*;




 
public interface IControlEmpleado extends Remote  {
	
	 public boolean addEmpleadoDTO(EmpleadoDTO pDTO,String cuitEmpresa,String cat, Vector<Concepto> con) throws Exception;
	 
	 public boolean existeEmpleado(String cuil)throws Exception;
	     
	 public void eliminarEmpleado(String cuil) throws Exception;
	    
	 public boolean existeEmpleadoNombre(String nombre) throws Exception;
	 
	 public boolean existeEmpresa(String cuit)throws  Exception;
	    
	 public void modificarEmpleado(EmpleadoDTO c) throws Exception;
	 
	 public Vector<EmpleadoDTO> getEmpleados(String cuit)throws Exception; 
	 
	  public Vector<EmpleadoDTO> getEmpleados() throws Exception ;
	 
	 public  Vector<EmpleadoDTO> getEmpleadosCuil(String cuil)throws Exception;
	 
	 public boolean existeRelacion(Vector<EmpleadoDTO> empleado, String cuil)throws Exception;
	 
	 
	 
}
